<template>
  <div class="child2">
    <h1>同时绑定多个v-mmodel</h1>
    <button @click="$emit('update:pageNo', pageNo + 10)">pageNo: {{ pageNo }}, pageSize: {{ pageSize }} </button>
  </div>
</template>

<script setup lang="ts">
  const $props = defineProps(['pageNo', 'pageSize'])
  const $emit = defineEmits(['update:pageNo', 'update:pageSize'])
</script>

<style scoped>
.child2 {
  width: 300px;
  height: 300px;
  background: hotpink;
}
</style>